﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum robotType 
    {
        CookRobot,
        deliveryRobot

    }
    abstract class Robot
    {
        private string name;
        private robotType type;
        public string Name 
        {
            get{ return this.name; }
            set { this.name = value; }
        }
        public robotType Type 
        {

            get { return this.Type; }
            set { this.Type = value; }

        }
        public Robot() { }

        public Robot(string name,robotType type) 
        {
            this.type = type;
            this.name = name;
        
        }


        public abstract void Working();






    }
}
